
  <!DOCTYPE html>
  <html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container {
          display: flex;
        }
        
        .item {
          flex: 1;  /* 每个项目占据相等的空间 */
          padding: 10px;
          text-align: center;
          border: 1px solid #ccc;
        }
      </style>
  </head>
  <body>
    <div class="container">
        <div class="item">项目 1</div>
        <div class="item">项目 2</div>
        <div class="item">项目 3</div>
      </div>
      
      
      
      
  </body>
  </html>